<template>
  <div style=" width: 99%; margin: auto;"><h3> {{year}}年检审核意见</h3>

    <table border="" style="width: 100%; text-align: center; font-size: 14px;">
      <tr>
        <td rowspan="2">业务主管单位初审意见</td>
        <td colspan="2">登记管理机关审核意见</td>
      </tr>
      <tr>
        <td>审查</td>
        <td>审定</td>
      </tr>
      <tr>
        <td style="height: 220px; position: relative;">
          <div style="position: absolute; bottom: 0px; right: 0px; left: 0px;">
           <p>{{postForm.supervisoryUnitOpinion}}</p>
            <p>
            经办人：{{postForm.supervisoryUnitHandling}} <span style="display: inline-block; margin-left: 150px;">(印 鉴)</span></p>
            <p>{{postForm.supervisoryUnitTime}}</p></div>
        </td>
        <td style="height: 276px; position: relative;">
          <div style="position: absolute; bottom: 0px; right: 0px; left: 0px;">
            <p>{{postForm.registrationUnitOpinion}}</p>
            <p>
            承办人：{{postForm.registrationUnitHandling}}</p>
            <p>负责人：{{postForm.registrationUnitResponsible}}</p>
            <p>{{postForm.registrationUnitTime}}</p></div>
        </td>
        <td style="height: 276px; position: relative;">
          <div style="position: absolute; bottom: 0px; right: 0px; left: 0px;"><p>
            (印 鉴) </p>
            <p>年 月 日</p></div>
        </td>
      </tr>
      <tr>
        <td style="height: 120px; position: relative;">
          备注
        </td>
        <td colspan="2">
          {{postForm.description}}
        </td>
      </tr>
    </table>
    <h2 style="text-align: center;">送 达 记 录</h2>
    <table border="" style="width: 100%; text-align: center; font-size: 14px;">
      <tr>
        <td>呈报人</td>
        <td>{{postForm.presenter}}</td>
        <td>联系电话</td>
        <td>{{postForm.presenterPhone}}</td>
      </tr>
      <tr>
        <td>收件人</td>
        <td>{{postForm.recipients}}</td>
        <td>签收日期</td>
        <td>{{postForm.recipientsTime}}</td>
      </tr>
    </table>
  </div>
</template>
<script>
import {getTableInfoByPage} from "@/views/yearCheck/ykb/mf/mf";

export default {
  data() {
    return {
      year:localStorage.getItem('examineYear'),
      postForm:{
        creditCode:localStorage.getItem("creditCode"),//统一社会信用代码
        description:'',//备注描述
        examineYear:localStorage.getItem("examineYear"),//审查年度
        organizationBaseId:'1',//组织id
        presenter:'',//呈报人
        presenterPhone:'',//呈报人联系电话
        recipients:'',//收件人
        recipientsTime:'',//签收日期
        registrationUnitHandling:'',//登记单位经办人
        registrationUnitOpinion:'',//登记单位意见
        registrationUnitResponsible:'',//登记单位负责人
        registrationUnitTime:'',//登记单位审核日期
        supervisoryUnitHandling:'',//主管单位经办人
        supervisoryUnitOpinion:'',//主管单位意见
        supervisoryUnitResponsible:'',//主管单位负责人
        supervisoryUnitTime:'',//主管单位审核日期
      }
    };
  },

  created() {

  },
  methods: {
    getInfo(){
      getTableInfoByPage(17).then(response => {
        this.postForm = JSON.parse(JSON.stringify(response.data).replace(/null/g, '""'));
      });
    }
  }
}
</script>
<style scoped lang="scss">
.el-table {
  --el-table-row-hover-bg-color: rgba(39, 137, 238, 0.1);
  --el-table-border-color:#e0e5f0;
}
:deep(.el-card.is-always-shadow) {
  box-shadow: 0 1px 14px 0 rgba(209, 224, 239, 0.6)
}

/* 拉框选中 */
.el-select-dropdown__item {
  height: 24px;
  line-height: 24px;
  font-size: 12px;
}

/* 鼠标经过下拉框 */
.el-select-dropdown__item:hover {
  height: 24px;
  line-height: 24px;
  font-size: 12px;
}

.el-select-dropdown__item.selected {
  color: #2789EE;
}
.app-container {
  margin-top: 40px;
  margin-left: 15%;
  width: 70%;
}

.div-bg {
  width: 100%;
  background: #F0F0F0;
  height: 10px;
}

.box-card {
  width: 100%;
  margin-top: 20px;
  padding: 20px;
}

.el-col {
  padding-left: 5px;
}

.divider-title {
  font-weight: bold;
  font-size: 18px;
}

.custom-select .el-select-dropdown {
  max-height: 600px; /* 设置为你想要的高度 */
  overflow: auto; /* 添加滚动条 */
}

table {
  border-collapse: collapse; /* 确保表格的边框合并为单一边框 */
  width: 100%; /* 表格宽度 */
}

td {
  border: 1px solid #ababab; /* 设置单线边框 */
  padding: 6px; /* 单元格内边距 */
}
.el-form-item {
  margin-bottom: 0px;
}
</style>
